package com.szrt.java.day20170111.ch01;


import static org.junit.Assert.*;

import org.junit.Test;

public class IntegerTest {
	
	
	@Test
	public void intValue() throws Exception {
		
		Integer aa = new Integer("33");
		
		System.out.println(aa.intValue()+1);
		
		
		
	}
	
	@Test
	public void parseInt() throws Exception {
		
		int aa = Integer.parseInt("33");
		
		System.out.println(aa+1);
		
	}
	
	@Test
	public void bz() throws Exception {
		
		int i = 10;
		
		int j =20;
		System.out.println(i+j);
		
		// Integer
		
		
		Integer ii = new Integer(20);
		Integer jj = new Integer(20);
		
		System.out.println(ii+jj);
	}

}
